package generate;

//by Andrew Leach

public class Point {
	double x;
	double y;
	LineSegment lineseg;
	
	//constructors
	public Point(){
		x = 0;
		y = 0;
	}
	
	public Point(double _x, double _y, LineSegment _lineseg){
		x = _x;
		y = _y;
		lineseg = _lineseg;
	}
	
	//accessor methods
	public double getX(){
		return x;
	}
	
	public double getY(){
		return y;
	}
	
	public LineSegment getSeg(){
		return lineseg;
	}
	
	//mutator methods
	public void setX(double _x){
		x = _x;
	}
	
	public void setY(double _y){
		y = _y;
	}
	
	public void setSeg(LineSegment seg){
		lineseg = seg;
	}

}
